﻿<Application 
    x:Class="_43Things.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:system="clr-namespace:System;assembly=mscorlib">

    <!--Application Resources-->
    <Application.Resources>
    	<SolidColorBrush x:Key="PhoneAccentBrush" />
    	<system:Double x:Key="PhoneFontSizeNormal">26</system:Double>
        <FontFamily x:Key="PhoneFontFamilyNormal" >Verdana</FontFamily>
        <SolidColorBrush x:Key="PhoneForegroundBrush" />
        <DataTemplate x:Key="groupHeaderTemplate">
            <Border Background="{StaticResource PhoneAccentBrush}" Margin="6" Width="80" Height="80" HorizontalAlignment="Left">
                <TextBlock Text="{Binding Title}" FontSize="40" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Bottom" Foreground="White"/>
            </Border>
        </DataTemplate>

        <DataTemplate x:Key="PhoneTouchTargetOverhang" />
    	<DataTemplate x:Key="PhoneTextTitle1Style" />

    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>